package com.leyou.cart.service;

import com.leyou.cart.pojo.Cart;

import java.util.List;
import java.util.Map;

public interface CartService {


    void addCart(Cart cart);


    List<Cart> listCart();

    void updateNum(Long id, Integer num);

    void deleteCart(Long id);

    void deleteCarts(Map<Long,List<Long>> map);
}
